package com.stormragetech.sylwanas.demo.spring.service;

import com.stormragetech.sylwanas.demo.model.UserModel;
import com.stormragetech.sylwanas.process.MQOperationExector;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
@Service
public class ProducerExample {

    private static final String EXCHANGE = "example";
    private static final String ROUTING = "user-example";
    private static final String QUEUE = "user-example";

    @Autowired
    MQOperationExector exector;

    public void send(UserModel model) {
        exector.send("test_a", model);
    }


}
